﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.SetupModel
{
    public class SetupServiceTypesGridViewModel : UserAllPermissionsViewModel
    {
        public List<SetupServiceTypesGridRowViewModel> Rows { get; set; }
        public List<SelectListItem> VendorTypeID { get; set; }
        [DisplayName("Type:")]
        public string SelectedServiceTypeVendorTypeIDText { get; set; }
        public string SelectedServiceVendorTypeID { get; set; }
        public List<SelectListItem> Per { get; set; }
        [DisplayName("Per:")]
        public string SelectedServiceTypePerText { get; set; }
        public string SelectedServiceTypePer { get; set; }
        [DisplayName("Description:")]
        public string ServiceTypeDescriptionText { get; set; }
        [DisplayName("Code:")]
        public string ServiceTypeCodeText { get; set; }
        public int ServiceTypeID { get; set; }
        [DisplayName("Active:")]
        public List<SelectListItem> ActiveSearch { get; set; }
        public bool? IsActiveSearch { get; set; }
        public bool IsDelete { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
        public string Message { get; set; }
    }
    public class SetupServiceTypesGridRowViewModel
    {
        public int ServiceTypeID { get; set; }
        [DisplayName("Type:")]
        public string VendorTypeID { get; set; }
        [DisplayName("Per:")]
        public string Per { get; set; }
        [DisplayName("Code:")]
        public string ServiceTypeCode { get; set; }
        [DisplayName("Description:")]
        public string ServiceTypeDescription { get; set; }
        [DisplayName("Active:")]
        public bool IsActive { get; set; }
        public string Message { get; set; }
    }
}